package com.gmail.dmitryustimov.ms.java7.observer.mod.demo.subj1subsc1event1;

public class Event {

    private String name;

    public Event(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String toString() {
        return "Event: " + name;
    }
}
